
<div id="container" class="clearfix">
<div class="icontainer">
<div id="aside">
<div class="category">
<h3>My 'Account</h3>
<div class="userMenuContent">
<ul>
<li><a href="/user_mag/myorder" rel="nofollow">My Orders</a></li>
<li><a href="/user_mag/addresslist" rel="nofollow">Address</a></li>
<li><a href="/user_mag/account" rel="nofollow">Account Details</a></li>
<li><a href="/user_mag/question" rel="nofollow">My Question</a></li>
<li><a href="/user_mag/wishlist" rel="nofollow">My Wishllist</a></li>
</ul>
</div>
</div>
</div>
<div id="main">
<div class="crumb">Home &gt; Address</div>
<div class="blank10"></div>
<div class="userArea">
<h3>Manage Your Shipping Address</h3>
<form action="/addresssave" method="post" class="formArea">
<ul>
<li>
<label><font class="strong1">*</font> First Name</label>
<input name="firstname" value="<?php echo $address['shipaddr']['firstname'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font> Last Name</label>
<input name="lastname" value="<?php echo $address['shipaddr']['lastname'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>Address</label>
<input name="address" value="<?php echo $address['shipaddr']['address'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>City:</label>
<input name="city" value="<?php echo $address['shipaddr']['city'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>Country:</label>
<select name="country">
<OPTION value="" >---SELECT--- </OPTION>
<?php foreach ($countrys as $item):?>

<option value="<?php echo  $item['iso_code'];?>" <?php if($item['iso_code']==$address['shipaddr']['country']):?>selected="selected"<?php endif;?>><?php echo $item['name'];?></option>
<?php endforeach;?>
</select>
</li>
<li>
<label><font class="strong1">*</font>State/Province:</label>
<input name="state" value="<?php echo $address['shipaddr']['state'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>Postal code:</label>
<input name="postcode" value="<?php echo $address['shipaddr']['postcode'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>Phone:</label>
<input name="tel" value="<?php echo $address['shipaddr']['phone'];?>" class="allInput" type="text">
</li>
<div class="blank10"></div>
<h3>Manage Your Billing Address</h3>
<li>
<label><font class="strong1">*</font> First Name</label>
<input name="bfirstname" value="<?php echo $address['billaddr']['firstname'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font> Last Name</label>
<input name="blastname" value="<?php echo $address['billaddr']['lastname'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>Address</label>
<input name="baddress" value="<?php echo $address['billaddr']['address'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>City:</label>
<input name="bcity" value="<?php echo $address['billaddr']['city'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>Country:</label>
<select name="bcountry">
<option value=""></option>
<?php foreach ($countrys as $item):?>
<option value="<?php echo  $item['iso_code'];?>" <?php if($item['iso_code']==$address['billaddr']['country']):?>selected="selected"<?php endif;?>><?php echo $item['name'];?></option>
<?php endforeach;?>
</select>
</li>
<li>
<label><font class="strong1">*</font>State/Province:</label>
<input name="bstate" value="<?php echo $address['billaddr']['state'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>Postal code:</label>
<input name="bpostcode" value="<?php echo $address['billaddr']['postcode'];?>" class="allInput" type="text">
</li>
<li>
<label><font class="strong1">*</font>Phone:</label>
<input name="btel" value="<?php echo $address['billaddr']['phone'];?>" class="allInput" type="text">
</li>
<li>
<label>&nbsp;</label>
<input id="addSubmit" class="allBtn" type="submit" value="Submit" name="submit">
</li></ul>
</form>
</div>
</div>
</div>
</div>